#define ldret(p) \_ ld hl,p \ ret
LoadReturnText:
	ld hl,_Ep
	if(SUCCESS)
		jr z,_
	if(ALLOCATE_SUCCESS)
		jr z,++_
	if(ALLOCATE_OUT_OF_MEM)
		jr z,+++_
	if(MEMORY_CORRUPT)
		jr z,++++_
	if(FILE_NOT_IN_DIR)
		jr z,+++++_
	if(BAD_PATH)
		jr z,++++++_
	if(END_OF_FAT)
		jr z,+++++++_
	if(BAD_ID)
		jr z,++++++++_
	if(OPEN_THREAD_SPACE)
		jr z,+++++++++_
	if(NO_THREAD_SPACE)
		jr z,++++++++++_
	if(FILE_IS_NULL)
		jr z,+++++++++++_
	ret
	ldret(_Sp)
	ldret(_ASp)
	ldret(_AOOMp)
	ldret(_MCp)
	ldret(_FNIDp)
	ldret(_BPp)
	ldret(_EOFp)
	ldret(_BIDp)
	ldret(_OTSp)
	ldret(_NTSp)
	ldret(_FINp)
_Sp:	db "SUCCESS",0
_Ep:	db "ERROR",0
_ASp:	db "ALLOCATE_SUCCESS",0
_AOOMp:	db "ALLOCATE_OUT_OF_MEM",0
_MCp:	db "MEMORY_CORRUPT",0
_FNIDp:	db "FILE_NOT_IN_DIR",0
_BPp:	db "BAD_PATH",0
_EOFp:	db "END_OF_FAT",0
_BIDp:	db "BAD_ID",0
_OTSp:	db "OPEN_THREAD_SPACE",0
_NTSp:	db "NO_THREAD_SPACE",0
_FINp:	db "FILE_IS_NULL",0
